<?php
namespace app\api\controller;
/**
* @OA\Post(
* path="/api/users",
* summary="新增用户",
* @OA\RequestBody(
* @OA\MediaType(
* mediaType="application/json",
* @OA\Schema(
* @OA\Property(
* property="id",
* type="string"
* ),
* @OA\Property(
* property="name",
* type="string"
* ),
* example={"id": 10, "name": "Jessica Smith"}
* )
* )
* ),
* @OA\Response(
* response=200,
* description="OK"
* )
* )
*/
class Swagger extends Common
{
    // ...
}
?>